// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_SALES_QU
// * CreateDate    : 2014-06-05 18:30:37
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:37
// * LastChanger   : 2014-06-05 18:30:37
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class SalesQuTable : TableInfo
    {
		public const string C_TableName = "SALES_QU";
		
		public const string C_ID = "ID";
		public const string C_CREATED_DATE = "CREATED_DATE";
		public const string C_CREATED_BY = "CREATED_BY";
		public const string C_UPDATED_DATE = "UPDATED_DATE";
		public const string C_UPDATED_BY = "UPDATED_BY";
		public const string C_IS_ACTIVE = "IS_ACTIVE";
		public const string C_CUSTOMER_ID = "CUSTOMER_ID";
		public const string C_CUSTOMER_NAME = "CUSTOMER_NAME";
		public const string C_CONTACT_ID = "CONTACT_ID";
		public const string C_CONTACT_USER = "CONTACT_USER";
		public const string C_CONTACT_TEL = "CONTACT_TEL";
		public const string C_QUOTE_NO = "QUOTE_NO";
		public const string C_QUOTE_USER = "QUOTE_USER";
		public const string C_QUOTE_DATE = "QUOTE_DATE";
		public const string C_DELIVERY_CYCLE = "DELIVERY_CYCLE";
		public const string C_TOTAL_AMOUNT = "TOTAL_AMOUNT";
		public const string C_CURRENCY = "CURRENCY";
		public const string C_TRANSPORT_TYPE = "TRANSPORT_TYPE";
		public const string C_TRANSPORT_FEE = "TRANSPORT_FEE";
		public const string C_PACKAGE_TYPE = "PACKAGE_TYPE";
		public const string C_PACKAGE_FEE = "PACKAGE_FEE";
		public const string C_EXPIRY_DATE = "EXPIRY_DATE";
		public const string C_EXPIRY_DATE_TO = "EXPIRY_DATE_TO";
		public const string C_PAYMENT_TYPE = "PAYMENT_TYPE";
		public const string C_IS_TAX = "IS_TAX";
		public const string C_STATUS = "STATUS";
		public const string C_REMARK = "REMARK";
		
		public SalesQuTable()
        {
            _tableName = "SALES_QU";
        }
		
		protected static SalesQuTable _current;
        public static SalesQuTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new SalesQuTable();

            _current.Add(C_ID, new ColumnInfo(C_ID,"Id", true, typeof(string)));
            _current.Add(C_CREATED_DATE, new ColumnInfo(C_CREATED_DATE,"CreatedDate", false, typeof(DateTime)));
            _current.Add(C_CREATED_BY, new ColumnInfo(C_CREATED_BY,"CreatedBy", false, typeof(string)));
            _current.Add(C_UPDATED_DATE, new ColumnInfo(C_UPDATED_DATE,"UpdatedDate", false, typeof(DateTime)));
            _current.Add(C_UPDATED_BY, new ColumnInfo(C_UPDATED_BY,"UpdatedBy", false, typeof(string)));
            _current.Add(C_IS_ACTIVE, new ColumnInfo(C_IS_ACTIVE,"IsActive", false, typeof(int)));
            _current.Add(C_CUSTOMER_ID, new ColumnInfo(C_CUSTOMER_ID,"CustomerId", false, typeof(string)));
            _current.Add(C_CUSTOMER_NAME, new ColumnInfo(C_CUSTOMER_NAME,"CustomerName", false, typeof(string)));
            _current.Add(C_CONTACT_ID, new ColumnInfo(C_CONTACT_ID,"ContactId", false, typeof(string)));
            _current.Add(C_CONTACT_USER, new ColumnInfo(C_CONTACT_USER,"ContactUser", false, typeof(string)));
            _current.Add(C_CONTACT_TEL, new ColumnInfo(C_CONTACT_TEL,"ContactTel", false, typeof(string)));
            _current.Add(C_QUOTE_NO, new ColumnInfo(C_QUOTE_NO,"QuoteNo", false, typeof(string)));
            _current.Add(C_QUOTE_USER, new ColumnInfo(C_QUOTE_USER,"QuoteUser", false, typeof(string)));
            _current.Add(C_QUOTE_DATE, new ColumnInfo(C_QUOTE_DATE,"QuoteDate", false, typeof(DateTime)));
            _current.Add(C_DELIVERY_CYCLE, new ColumnInfo(C_DELIVERY_CYCLE,"DeliveryCycle", false, typeof(string)));
            _current.Add(C_TOTAL_AMOUNT, new ColumnInfo(C_TOTAL_AMOUNT,"TotalAmount", false, typeof(decimal)));
            _current.Add(C_CURRENCY, new ColumnInfo(C_CURRENCY,"Currency", false, typeof(string)));
            _current.Add(C_TRANSPORT_TYPE, new ColumnInfo(C_TRANSPORT_TYPE,"TransportType", false, typeof(string)));
            _current.Add(C_TRANSPORT_FEE, new ColumnInfo(C_TRANSPORT_FEE,"TransportFee", false, typeof(decimal)));
            _current.Add(C_PACKAGE_TYPE, new ColumnInfo(C_PACKAGE_TYPE,"PackageType", false, typeof(string)));
            _current.Add(C_PACKAGE_FEE, new ColumnInfo(C_PACKAGE_FEE,"PackageFee", false, typeof(decimal)));
            _current.Add(C_EXPIRY_DATE, new ColumnInfo(C_EXPIRY_DATE,"ExpiryDate", false, typeof(DateTime)));
            _current.Add(C_EXPIRY_DATE_TO, new ColumnInfo(C_EXPIRY_DATE_TO,"ExpiryDateTo", false, typeof(DateTime)));
            _current.Add(C_PAYMENT_TYPE, new ColumnInfo(C_PAYMENT_TYPE,"PaymentType", false, typeof(string)));
            _current.Add(C_IS_TAX, new ColumnInfo(C_IS_TAX,"IsTax", false, typeof(int)));
            _current.Add(C_STATUS, new ColumnInfo(C_STATUS,"Status", false, typeof(string)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK,"Remark", false, typeof(string)));
			
		}
		
		public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }
		
		public ColumnInfo CREATED_DATE
        {
            get { return this[C_CREATED_DATE]; }
        }
		
		public ColumnInfo CREATED_BY
        {
            get { return this[C_CREATED_BY]; }
        }
		
		public ColumnInfo UPDATED_DATE
        {
            get { return this[C_UPDATED_DATE]; }
        }
		
		public ColumnInfo UPDATED_BY
        {
            get { return this[C_UPDATED_BY]; }
        }
		
		public ColumnInfo IS_ACTIVE
        {
            get { return this[C_IS_ACTIVE]; }
        }
		
		public ColumnInfo CUSTOMER_ID
        {
            get { return this[C_CUSTOMER_ID]; }
        }
		
		public ColumnInfo CUSTOMER_NAME
        {
            get { return this[C_CUSTOMER_NAME]; }
        }
		
		public ColumnInfo CONTACT_ID
        {
            get { return this[C_CONTACT_ID]; }
        }
		
		public ColumnInfo CONTACT_USER
        {
            get { return this[C_CONTACT_USER]; }
        }
		
		public ColumnInfo CONTACT_TEL
        {
            get { return this[C_CONTACT_TEL]; }
        }
		
		public ColumnInfo QUOTE_NO
        {
            get { return this[C_QUOTE_NO]; }
        }
		
		public ColumnInfo QUOTE_USER
        {
            get { return this[C_QUOTE_USER]; }
        }
		
		public ColumnInfo QUOTE_DATE
        {
            get { return this[C_QUOTE_DATE]; }
        }
		
		public ColumnInfo DELIVERY_CYCLE
        {
            get { return this[C_DELIVERY_CYCLE]; }
        }
		
		public ColumnInfo TOTAL_AMOUNT
        {
            get { return this[C_TOTAL_AMOUNT]; }
        }
		
		public ColumnInfo CURRENCY
        {
            get { return this[C_CURRENCY]; }
        }
		
		public ColumnInfo TRANSPORT_TYPE
        {
            get { return this[C_TRANSPORT_TYPE]; }
        }
		
		public ColumnInfo TRANSPORT_FEE
        {
            get { return this[C_TRANSPORT_FEE]; }
        }
		
		public ColumnInfo PACKAGE_TYPE
        {
            get { return this[C_PACKAGE_TYPE]; }
        }
		
		public ColumnInfo PACKAGE_FEE
        {
            get { return this[C_PACKAGE_FEE]; }
        }
		
		public ColumnInfo EXPIRY_DATE
        {
            get { return this[C_EXPIRY_DATE]; }
        }
		
		public ColumnInfo EXPIRY_DATE_TO
        {
            get { return this[C_EXPIRY_DATE_TO]; }
        }
		
		public ColumnInfo PAYMENT_TYPE
        {
            get { return this[C_PAYMENT_TYPE]; }
        }
		
		public ColumnInfo IS_TAX
        {
            get { return this[C_IS_TAX]; }
        }
		
		public ColumnInfo STATUS
        {
            get { return this[C_STATUS]; }
        }
		
		public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }
		
		
		
	}
}

